package org.jeecg.modules.ecard.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
/**
 * <p>
 * 
 * </p>
 *
 * @author 杜正冬
 * @since 2025-03-26
 */
@Getter
@Setter
@ToString
@TableName("SMART.SMART_DEALTYPE")
@ApiModel(value = "SmartDealtypeEntity对象", description = "")
public class SmartDealtypeEntity extends Model<SmartDealtypeEntity> {

    private static final long serialVersionUID = 1L;

    @TableId("SMT_DEALCODE")
    private String smtDealcode;

    @TableField("SMT_DEALNAME")
    private String smtDealname;

    @TableField("SMT_DEBITCREDIT")
    private String smtDebitcredit;

    @TableField("SMT_SYSTEMNO")
    private String smtSystemno;

    @TableField("SMT_SYSTEMRCODE")
    private String smtSystemrcode;

    @TableField("SMT_OPERATOR")
    private String smtOperator;

    @TableField("SMT_DATETIME")
    private Date smtDatetime;

    @TableField("SMT_TRANSTYPE")
    private Short smtTranstype;

    @TableField("SMT_SUMMARY")
    private String smtSummary;

    @TableField("SMT_ACCFLAG")
    private Short smtAccflag;

    @TableField("SMT_CARDFLAG")
    private Short smtCardflag;

    @TableField("SMT_CARDACCFLAG")
    private Short smtCardaccflag;

    @TableField("SMT_DETAILACCFLAG")
    private Short smtDetailaccflag;

    @Override
    public Serializable pkVal() {
        return this.smtDealcode;
    }
}
